package com.sz.mes.entity;

import java.util.Date;
import java.lang.Double;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.sz.mes.entity.BaseCustomEntity;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.diboot.core.util.D;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 返修工时 Entity定义
* @author hem
* @version 1.0
* @date 2024-11-20
* Copyright © szhs
*/
@Getter @Setter @Accessors(chain = true)
@TableName("rework_hours")
public class ReworkHours extends BaseCustomEntity {
    private static final long serialVersionUID = 1889996569613971855L;

    /**
    * 单据编号 
    */
    @Length(max=100, message="单据编号长度应小于100")
    @TableField()
    private String receiptNum;

    /**
    * 计划号 
    */
    @Length(max=100, message="计划号长度应小于100")
    @TableField()
    private String planNum;

    /**
    * 工序名称 
    */
    @Length(max=100, message="工序名称长度应小于100")
    @TableField()
    private String techName;

    /**
    * 返修工时 
    */
    @TableField()
    private BigDecimal reworkTime;

    /**
    * 返修总工时 
    */
    @TableField()
    private BigDecimal allReworkTime;

    /**
    * 工作时间 
    */
    @TableField()
    private Date workDay;


} 
